//This file add by lcl at 2012-09-30
package com.shengyin.ec.model.dao.alliance;

import java.util.List;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.AllianceSDInfo;
import com.shengyin.ec.model.entity.AllianceViewerInfo;

public interface AllianceViewerInfoDao extends BaseDao<AllianceViewerInfo> {
	
	public AllianceViewerInfo getAllianceViewerByAllianceViewerId(long id);
	
	public List<AllianceViewerInfo> getAllianceViewerListByAllianceCompanyId(long id);
	
	public void addAllianceViewerByAllianceViewerId(AllianceViewerInfo allianceViewerInfo);
	
	public boolean checkAllianceViewer(String username, String password);
	
	public int getAllianceViewType(String username);
	
	public AllianceViewerInfo getAllianceViewerByName(String name);
	
	
}